public class Test_2 {
    public static void main(String[] args) {
        Date date1 = new Date();
//        date1.year = 2024;
//        date1.month = 11;
//        date1.day = 30;
//        date1.printDate();

        date1.setYear(1976);
        date1.setMonth(9);
        date1.setDay(9);
        System.out.print(date1.getYear() + "年");
        System.out.print(date1.getMonth() + "月");
        System.out.print(date1.getDay() + "日");

//        System.out.println("=====================");
//        Date date2 = new Date(2023,11,30);
//        date2.printDate();
//
//        System.out.println("=====================");
//        Date date3 = new Date();
//        date3.printDate();

    }
}
